package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.pojo.ScreenListPojo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author: wufeng
 * @date: 2018/9/11 13:57
 * @desrcption: 获取常用筛选项
 */
@Getter
@Setter
@ToString
public class ScreenListDTO extends ScreenListPojo {
    private static final long serialVersionUID = -2954361483845318052L;

    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.screenAdd.appId.NotNull}")
    private Long appId;
    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.screenAdd.formId.NotNull}")
    private Long formId;
    /**
     * 字段attr
     */
    private String attr;

    private Integer saasMark;

    private Integer type;

    /**
     * 分组id
     */
    private Long listGroupId;

    /**
     * 是否默认分组
     */
    private Integer defaultGroup;
}
